home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / win / whttpd14.zip / SUPPORT / LOGCYCLE.TXT < prev    next >
Text File  |  1994-06-05  |  1KB  |  28 lines

  1. logcycle is a program that sends a message to a running httpd
  2. that causes it to cycle its logfile(s). The log is renamed
  3. '.001', and older logs are renamed from '.001' to '.002' and so
  4. forth. It will keep 30 old logs. The 31st is deleted.
  5.  
  6. If you include no command line options, it cycles the access log. 
  7. '-e' causes it to cycle the error log, '-a' causes it to cycle
  8. the access log. Options can be combined (e.g., '-ae'). The httpd
  9. server must be running.
  10.  
  11. NOTE: Don't cycle your access log if you are running wusage.
  12. It assumes that all of the data is in the live access log.
  13.  
  14. You can use WinCron to automate periodic logfile cycling.
  15. WinCron must be running at the time(s) you schedule cycles.
  16. If you don't want to think about it, add it to the "load="
  17. line in the "[windows]" section of your WIN.INI:
  18.  
  19.     [windows]
  20.     ...
  21.     load=c:\httpd\support\wincron.exe
  22.     ...
  23.  
  24. There may already be programs set to load on startup.
  25. If so, just add the pathname of WinCron to the existing
  26. list, separated by a space.
  27.  
  28.